package com.hdax.dmw.common.controllers.base;

import com.hdax.dmw.entity.base.DmImage;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public interface BaseController {
    @PostMapping(path = "/base/image")
    DmImage image(
            @RequestParam("targetId")Long targetId,
            @RequestParam("type")Long type,
            @RequestParam("catgory")Long category
    );
}
